import { FormItemType } from "@/components/GuatForm/types";

export const editBaseInfoForm: FormItemType[] = [
  {
    label: "用户名",
    field: "userName",
    component: "Input",
  },
  {
    label: "性别",
    field: "gender",
    component: "Select",
    options: [
      {
        label: "男",
        value: 0,
      },
      {
        label: "女",
        value: 1,
      },
    ],
  },
  {
    label: "旧密码",
    field: "oldPassword",
    component: "InputPassword",
  },
  {
    label: "新密码",
    field: "newPassword",
    component: "InputPassword",
  },
  {
    label: "重复新密码",
    field: "repeatNewPassword",
    component: "InputPassword",
  },
];
